{% extends "projects/base.html" %}


{% block title %}{{action}} - {{block.super}}{% endblock %}


{% block projectcontent %} 
<h1>{{action}}</h1>
{% ifequal action "Create new project" %}
<p>
   Here you can create a new project. <br/>
   Afterwards you can add screenshots, (youtube)videos and releases and
   edit these information except for the name.
</p>
<br/>
<br/>
{% endifequal %}

{% if preview %}
<h2>Preview</h2>
<div class="preview">
<h1>{{project.name}}</h1>


<h2>Summary</h2>

{{project.raw_summary|safe}}


<h2>Description</h2>
{{project.raw_description|safe}}

</div>
{% endif %}

<form action="" method="post" class="styled">
<table>
{{form}}
<tr>
    <td></td>
    <td>
      <input type="submit" name="preview" value="Preview" class="button" />
      <input type="submit" name="submit" value="{{action}}" class="button" />
    </td>
</tr>
</table>
</form>

{% endblock %} 
